using System;

namespace CloudStorage.API.Messages
{
  /// <summary>
  /// The Information about a Cloud Storage Message Queue Message
  /// </summary>
  public interface IMessageInfo
  {
    /// <summary>
    /// A unique ID of the message as returned from queue operations.
    /// </summary>
    string Id { get; }

    /// <summary>
    /// The point in time when the message was put into the queue.
    /// </summary>
    DateTime InsertionTime { get; }

    /// <summary>
    /// A message's expiration time.
    /// </summary>
    DateTime ExpirationTime { get; }
    
    /// <summary>
    /// Returns the the contents of the message as a string.
    /// </summary>
    string MessageText { get; }		
  }
}